import { RMIProxyObject } from "../../Engine/RMI/RMIProxyObject";
import { IRolePrx } from "./IRolePrx";
import { AMI_IRole_activateSeniorCareerSkill } from "./AMI_IRole_activateSeniorCareerSkill";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { Outgoing } from "../../Engine/RMI/Outgoing";
import { AMI_IRole_activeIllustratePiece } from "./AMI_IRole_activeIllustratePiece";
import { AMI_IRole_addAccumulation } from "./AMI_IRole_addAccumulation";
import { DictStrIntHelper } from "../Public/DictStrIntHelper";
import { AMI_IRole_applyBattle } from "./AMI_IRole_applyBattle";
import { SEntityId } from "../Public/SEntityId";
import { AMI_IRole_applyZazen } from "./AMI_IRole_applyZazen";
import { AMI_IRole_breakFightSpirit } from "./AMI_IRole_breakFightSpirit";
import { AMI_IRole_buyExploreShopItem } from "./AMI_IRole_buyExploreShopItem";
import { DictIntIntHelper } from "../Public/DictIntIntHelper";
import { AMI_IRole_buyLotteryItem } from "./AMI_IRole_buyLotteryItem";
import { AMI_IRole_calCombatCapabilitiesDif } from "./AMI_IRole_calCombatCapabilitiesDif";
import { AMI_IRole_canDoubleZazen } from "./AMI_IRole_canDoubleZazen";
import { AMI_IRole_changeFashionModel } from "./AMI_IRole_changeFashionModel";
import { AMI_IRole_changeWingModel } from "./AMI_IRole_changeWingModel";
import { AMI_IRole_changeWingShape } from "./AMI_IRole_changeWingShape";
import { AMI_IRole_clearSuitSkillCd } from "./AMI_IRole_clearSuitSkillCd";
import { AMI_IRole_completeUpgradeGrowth } from "./AMI_IRole_completeUpgradeGrowth";
import { AMI_IRole_cultureFightSpirit } from "./AMI_IRole_cultureFightSpirit";
import { SeqStringHelper } from "../Public/SeqStringHelper";
import { AMI_IRole_cultureFlyGrow } from "./AMI_IRole_cultureFlyGrow";
import { AMI_IRole_dress } from "./AMI_IRole_dress";
import { AMI_IRole_endSunBath } from "./AMI_IRole_endSunBath";
import { AMI_IRole_endZazen } from "./AMI_IRole_endZazen";
import { AMI_IRole_getActivedPiece } from "./AMI_IRole_getActivedPiece";
import { AMI_IRole_getCareerAttrbuteShow } from "./AMI_IRole_getCareerAttrbuteShow";
import { AMI_IRole_getExploreShopInfo } from "./AMI_IRole_getExploreShopInfo";
import { AMI_IRole_getQixingShenhunView } from "./AMI_IRole_getQixingShenhunView";
import { AMI_IRole_getRewardAttrInfo } from "./AMI_IRole_getRewardAttrInfo";
import { AMI_IRole_getSecondCarreerTransfromCd } from "./AMI_IRole_getSecondCarreerTransfromCd";
import { AMI_IRole_getSuitCanLock } from "./AMI_IRole_getSuitCanLock";
import { AMI_IRole_getZazenReward } from "./AMI_IRole_getZazenReward";
import { AMI_IRole_getZazenRewardInfo } from "./AMI_IRole_getZazenRewardInfo";
import { AMI_IRole_learnSkill } from "./AMI_IRole_learnSkill";
import { AMI_IRole_lockSuit } from "./AMI_IRole_lockSuit";
import { AMI_IRole_notShowBubble } from "./AMI_IRole_notShowBubble";
import { AMI_IRole_notShowElf } from "./AMI_IRole_notShowElf";
import { AMI_IRole_notShowFashion } from "./AMI_IRole_notShowFashion";
import { AMI_IRole_notShowFashionWeapon } from "./AMI_IRole_notShowFashionWeapon";
import { AMI_IRole_notShowFootprint } from "./AMI_IRole_notShowFootprint";
import { AMI_IRole_notShowSurround } from "./AMI_IRole_notShowSurround";
import { AMI_IRole_notShowWaistBelt } from "./AMI_IRole_notShowWaistBelt";
import { AMI_IRole_notShowWing } from "./AMI_IRole_notShowWing";
import { AMI_IRole_openSecondCareer } from "./AMI_IRole_openSecondCareer";
import { AMI_IRole_operateAmuletSpirit } from "./AMI_IRole_operateAmuletSpirit";
import { AMI_IRole_operateQixingShenhun } from "./AMI_IRole_operateQixingShenhun";
import { AMI_IRole_reduceUpgradeGrowthTime } from "./AMI_IRole_reduceUpgradeGrowthTime";
import { AMI_IRole_refreshExploreShop } from "./AMI_IRole_refreshExploreShop";
import { AMI_IRole_refreshLottery } from "./AMI_IRole_refreshLottery";
import { AMI_IRole_replyBattle } from "./AMI_IRole_replyBattle";
import { AMI_IRole_replyZazen } from "./AMI_IRole_replyZazen";
import { EZazenResult } from "../Public/EZazenResult";
import { AMI_IRole_reselectSecondCareer } from "./AMI_IRole_reselectSecondCareer";
import { AMI_IRole_resetTimes } from "./AMI_IRole_resetTimes";
import { EResetTimes } from "../Public/EResetTimes";
import { AMI_IRole_secondCareerTransform } from "./AMI_IRole_secondCareerTransform";
import { AMI_IRole_setNimbusZazen } from "./AMI_IRole_setNimbusZazen";
import { AMI_IRole_startSunBath } from "./AMI_IRole_startSunBath";
import { AMI_IRole_startUpgradeGrowth } from "./AMI_IRole_startUpgradeGrowth";
import { AMI_IRole_startZazen } from "./AMI_IRole_startZazen";
import { AMI_IRole_sunBathPass } from "./AMI_IRole_sunBathPass";
import { AMI_IRole_undress } from "./AMI_IRole_undress";
import { AMI_IRole_updateCareer } from "./AMI_IRole_updateCareer";
import { AMI_IRole_updateSkillPos } from "./AMI_IRole_updateSkillPos";
import { AMI_IRole_upgradeAllSkill } from "./AMI_IRole_upgradeAllSkill";
import { AMI_IRole_upgradeFlyExp } from "./AMI_IRole_upgradeFlyExp";
import { AMI_IRole_upgradeSkill } from "./AMI_IRole_upgradeSkill";
import { AMI_IRole_upgradeSuitSkill } from "./AMI_IRole_upgradeSuitSkill";
import { AMI_IRole_useDrugBag } from "./AMI_IRole_useDrugBag";
import { AMI_IRole_useFashionSuitModel } from "./AMI_IRole_useFashionSuitModel";
type int = number;
//class IRolePrxHelper
    
    export  class IRolePrxHelper extends RMIProxyObject implements IRolePrx
    {
        constructor()
        {
            
            super();name = "IRole";
            return;
        }

        public activateSeniorCareerSkill_async(arg1: AMI_IRole_activateSeniorCareerSkill): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("activateSeniorCareerSkill");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public activeIllustratePiece_async(arg1: AMI_IRole_activeIllustratePiece, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("activeIllustratePiece");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public addAccumulation_async(arg1: AMI_IRole_addAccumulation, arg2: int, arg3: Map<any, any> /* flash.utils.Dictionary */): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("addAccumulation");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            DictStrIntHelper.write(loc3, arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public applyBattle_async(arg1: AMI_IRole_applyBattle, arg2: SEntityId): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("applyBattle");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public applyZazen_async(arg1: AMI_IRole_applyZazen, arg2: SEntityId): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("applyZazen");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public breakFightSpirit_async(arg1: AMI_IRole_breakFightSpirit, arg2: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("breakFightSpirit");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public buyExploreShopItem_async(arg1: AMI_IRole_buyExploreShopItem, arg2: int, arg3: Map<any, any> /* flash.utils.Dictionary */): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("buyExploreShopItem");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            DictIntIntHelper.write(loc3, arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public buyLotteryItem_async(arg1: AMI_IRole_buyLotteryItem, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("buyLotteryItem");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public calCombatCapabilitiesDif_async(arg1: AMI_IRole_calCombatCapabilitiesDif, arg2: Map<any, any> /* flash.utils.Dictionary */): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("calCombatCapabilitiesDif");
            var loc3=new SerializeStream();
            DictIntIntHelper.write(loc3, arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public canDoubleZazen_async(arg1: AMI_IRole_canDoubleZazen, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("canDoubleZazen");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public changeFashionModel_async(arg1: AMI_IRole_changeFashionModel, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("changeFashionModel");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public changeWingModel_async(arg1: AMI_IRole_changeWingModel, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("changeWingModel");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public changeWingShape_async(arg1: AMI_IRole_changeWingShape): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("changeWingShape");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public clearSuitSkillCd_async(arg1: AMI_IRole_clearSuitSkillCd): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("clearSuitSkillCd");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public completeUpgradeGrowth_async(arg1: AMI_IRole_completeUpgradeGrowth): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("completeUpgradeGrowth");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public cultureFightSpirit_async(arg1: AMI_IRole_cultureFightSpirit, arg2: int, arg3: Array<any>, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("cultureFightSpirit");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            SeqStringHelper.write(loc3, arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public cultureFlyGrow_async(arg1: AMI_IRole_cultureFlyGrow, arg2: Boolean, arg3: Boolean, arg4: Array<any>): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("cultureFlyGrow");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            loc3.writeBool(arg3);
            SeqStringHelper.write(loc3, arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public dress_async(arg1: AMI_IRole_dress, arg2: string, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("dress");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public endSunBath_async(arg1: AMI_IRole_endSunBath): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("endSunBath");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public endZazen_async(arg1: AMI_IRole_endZazen): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("endZazen");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getActivedPiece_async(arg1: AMI_IRole_getActivedPiece, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getActivedPiece");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getCareerAttrbuteShow_async(arg1: AMI_IRole_getCareerAttrbuteShow, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getCareerAttrbuteShow");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getExploreShopInfo_async(arg1: AMI_IRole_getExploreShopInfo, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getExploreShopInfo");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getQixingShenhunView_async(arg1: AMI_IRole_getQixingShenhunView): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getQixingShenhunView");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getRewardAttrInfo_async(arg1: AMI_IRole_getRewardAttrInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getRewardAttrInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getSecondCarreerTransfromCd_async(arg1: AMI_IRole_getSecondCarreerTransfromCd): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getSecondCarreerTransfromCd");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getSuitCanLock_async(arg1: AMI_IRole_getSuitCanLock): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getSuitCanLock");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getZazenReward_async(arg1: AMI_IRole_getZazenReward, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getZazenReward");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getZazenRewardInfo_async(arg1: AMI_IRole_getZazenRewardInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getZazenRewardInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public learnSkill_async(arg1: AMI_IRole_learnSkill, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("learnSkill");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public lockSuit_async(arg1: AMI_IRole_lockSuit, arg2: int, arg3: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("lockSuit");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeBool(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public notShowBubble_async(arg1: AMI_IRole_notShowBubble, arg2: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("notShowBubble");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public notShowElf_async(arg1: AMI_IRole_notShowElf, arg2: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("notShowElf");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public notShowFashion_async(arg1: AMI_IRole_notShowFashion, arg2: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("notShowFashion");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public notShowFashionWeapon_async(arg1: AMI_IRole_notShowFashionWeapon, arg2: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("notShowFashionWeapon");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public notShowFootprint_async(arg1: AMI_IRole_notShowFootprint, arg2: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("notShowFootprint");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public notShowSurround_async(arg1: AMI_IRole_notShowSurround, arg2: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("notShowSurround");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public notShowWaistBelt_async(arg1: AMI_IRole_notShowWaistBelt, arg2: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("notShowWaistBelt");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public notShowWing_async(arg1: AMI_IRole_notShowWing, arg2: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("notShowWing");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public openSecondCareer_async(arg1: AMI_IRole_openSecondCareer, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("openSecondCareer");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public operateAmuletSpirit_async(arg1: AMI_IRole_operateAmuletSpirit, arg2: int, arg3: int, arg4: Array<any>): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("operateAmuletSpirit");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            SeqStringHelper.write(loc3, arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public operateQixingShenhun_async(arg1: AMI_IRole_operateQixingShenhun, arg2: int, arg3: int, arg4: int, arg5: Array<any>, arg6: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("operateQixingShenhun");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            SeqStringHelper.write(loc3, arg5);
            loc3.writeInt(arg6);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public reduceUpgradeGrowthTime_async(arg1: AMI_IRole_reduceUpgradeGrowthTime, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("reduceUpgradeGrowthTime");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public refreshExploreShop_async(arg1: AMI_IRole_refreshExploreShop, arg2: int, arg3: int, arg4: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("refreshExploreShop");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeBool(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public refreshLottery_async(arg1: AMI_IRole_refreshLottery, arg2: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("refreshLottery");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public replyBattle_async(arg1: AMI_IRole_replyBattle, arg2: SEntityId, arg3: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("replyBattle");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            loc3.writeBool(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public replyZazen_async(arg1: AMI_IRole_replyZazen, arg2: string, arg3: EZazenResult): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("replyZazen");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            arg3.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public reselectSecondCareer_async(arg1: AMI_IRole_reselectSecondCareer, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("reselectSecondCareer");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public resetTimes_async(arg1: AMI_IRole_resetTimes, arg2: EResetTimes): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("resetTimes");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public secondCareerTransform_async(arg1: AMI_IRole_secondCareerTransform): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("secondCareerTransform");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public setNimbusZazen_async(arg1: AMI_IRole_setNimbusZazen, arg2: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("setNimbusZazen");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public startSunBath_async(arg1: AMI_IRole_startSunBath): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("startSunBath");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public startUpgradeGrowth_async(arg1: AMI_IRole_startUpgradeGrowth): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("startUpgradeGrowth");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public startZazen_async(arg1: AMI_IRole_startZazen): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("startZazen");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public sunBathPass_async(arg1: AMI_IRole_sunBathPass, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("sunBathPass");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public undress_async(arg1: AMI_IRole_undress, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("undress");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updateCareer_async(arg1: AMI_IRole_updateCareer, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updateCareer");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updateSkillPos_async(arg1: AMI_IRole_updateSkillPos, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updateSkillPos");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public upgradeAllSkill_async(arg1: AMI_IRole_upgradeAllSkill): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("upgradeAllSkill");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public upgradeFlyExp_async(arg1: AMI_IRole_upgradeFlyExp, arg2: Map<any, any> /* flash.utils.Dictionary */): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("upgradeFlyExp");
            var loc3=new SerializeStream();
            DictStrIntHelper.write(loc3, arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public upgradeSkill_async(arg1: AMI_IRole_upgradeSkill, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("upgradeSkill");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public upgradeSuitSkill_async(arg1: AMI_IRole_upgradeSuitSkill, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("upgradeSuitSkill");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public useDrugBag_async(arg1: AMI_IRole_useDrugBag, arg2: int, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("useDrugBag");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public useFashionSuitModel_async(arg1: AMI_IRole_useFashionSuitModel, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("useFashionSuitModel");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public static /* const */NAME: string="Message.Game.IRole";
    }
